<?php

/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

class Field_Button extends Field_Abstract {

  protected $_type =  'button';
  protected $_value = 'button';

  public function getHtml() {
    return sprintf('<input name="%s" type="%s" value="%s" %s />', $this->getName(), $this->_type, $this->getValue(), $this->getExtras());
  }
  
  
  public function getLabel(){
    return false;
  }
  
  public function setValue($value) {
    //$this->_value = $value;
  }
  
  public function isValid(){
    return true;
  }

}
